<?php
$this->headTitle($this->translate('Street manage'));
$this->headLink()
    ->appendStylesheet($this->STATIC_URL. '/themes/file.css');
$this->headStyle('
div.filelist dl dt a {
	background-image:url("'. $this->STATIC_URL .'/themes/icons/directory.png");
}'); ?>

<h2>
	<span><?php echo $this->translate('Street manage')?></span>
	<a href="<?php echo $this->url(array(
		'action'=> 'create'
		))?>"><?php echo $this->translate('Create street')?></a>
</h2>

<dl>
<dt>&nbsp;</dt>
<dd>
<fieldset>
    <legend>办事处列表</legend>
    <div class="filelist">
<?php if (count($this->entries)): ?>
<?php foreach ($this->entries as $street): ?>
    <dl>
        <dt><a href="<?php echo $this->url(array(
            'controller'=> 'village',
            'action'=> 'manage',
            'aid'=> $street->sid));?>"></a></dt>
        <dd><?php echo $street->name ?></dd>
    </dl>
<?php endforeach;?>
<?php endif;?>
    </div>
</fieldset>
</dd>
</dl>